package com.cyy.study.nacosconsumer.service.hystrix;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * @author chengyingying
 * 创建时间：2021/5/25
 */
@FeignClient(name = "nacos-provider")
public interface ProviderService {

    @RequestMapping(value = "getDashboard",method = RequestMethod.GET)
    public List<String> getProviderData();
}
